<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/PopDialog.Master" Inherits="BOSS.Web.BaseViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
        window.closeDialog();
        document.location = <% if (Model == null || Model.ToString().Length == 0) { %>document.location <% } else { %>'<%= Model %>'<% } %>;
    </script>
</asp:Content>
